package es.uned.eped.parking;

public class Parking {

	private ParkingState pS; 
	private TreeIF<ParkingElementIF> plazas;
	private final int NUM_TIPO = 3; 
	private final int PLANTAS  = 6 ;
	
 	public Parking(){
 		super();
		/* Calcular plazas totales para cada tipo
		 * floors x sections X areas x 3 
		 */
 		int num = TType.values().length;
		int totales[] = new int[num];
		int total     = PLANTAS * 
						TSection.values().length *
						TArea.values().length *
						NUM_TIPO;
		for(int t:totales){
			t=total;
		}		
		
		/* Se crea el objeto ParkingState */
		pS = new ParkingState(totales);	
		
		/* Estructura jerarquica */ 
	
		
 	} 
 	
 	public ParkingSpace getSpace(TType t, TSection s){
 		return null;
 	}
 	
 	public boolean hasSpace(TType t){
 		
 		return false;
 	} 
 	
}
